package models;
 
import java.util.*;
import javax.persistence.*;
 
import play.db.jpa.*;
 
@Entity
public class Course extends Model 
{
	public String libelle;
	public int nombreParticipants;
	public Date dateLimiteInscription;
	public Date dateDepart;
	public int intervalleTemps;
	
	public Course(String libelle, int nbParticipants, Date dateLimite, Date dateDepart, int intervalle)
	{
		this.libelle = libelle;
		this.nombreParticipants = nbParticipants;
		this.dateLimiteInscription = dateLimite;
		this.dateDepart = dateDepart;
		this.intervalleTemps = intervalle;
	}
}